package net.skystudio.es.service;

import net.skystudio.es.entity.OperateLog;
import org.springframework.data.domain.Page;

import java.util.List;

public interface OperateLogService {

    long count();

    OperateLog save(OperateLog operateLog);

    void delete(OperateLog operateLog);

    Iterable<OperateLog> getAll();

    List<OperateLog> getBySystemName(String systemName);

    Page<OperateLog> pageQuery(Integer pageNo, Integer pageSize, String systemName);

}
